// {
//     name: 'lemon',
//     age: 18,
//     sex: 'female'
// }

var str = 'https://www.baidu.com/s?name=lemon&age=18&sex=female&'
var wenHaoIndex = str.indexOf('?')
var sliceStr = str.slice(wenHaoIndex+1, -1) // 'name=lemon&age=18&sex=female'
var paramsArr = sliceStr.split('&') // ['name=lemon', 'age=18', 'sex=female']
